/*
 * @Description: 抽象类
 * @Author: charles
 * @Date: 2021-11-19 11:29:06
 * @LastEditors: charles
 * @LastEditTime: 2021-11-19 11:38:37
 */
abstract class Parent {
  cook(){
    console.log('做饭...');
  }
  abstract study():string;
}

class Son extends Parent {
  study(){
    console.log("好好学习");
    return "江西理工大学";
  }
}

let s = new Son();
s.study();
